﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using Douban.Modules.Broadcast.ViewModels;

namespace Douban.Modules.Broadcast.Views
{
    /// <summary>
    /// Interaction logic for BroadcastView.xaml
    /// </summary>
    public partial class BroadcastView : UserControl, IBroadcastView
    {
        public BroadcastView()
        {
            InitializeComponent();
        }

        #region IBroadcastView Members

        public IBroadcastViewModel Context
        {
            get
            {
                return DataContext as IBroadcastViewModel;
            }
            set
            {
                DataContext = value;
            }
        }

        private void StackPanel_MouseDown(object sender, System.Windows.Input.MouseButtonEventArgs e)
        {
        	// TODO: Add event handler implementation here.
        }

        private void UserControl_DataContextChanged(object sender, System.Windows.DependencyPropertyChangedEventArgs e)
        {
        	// TODO: Add event handler implementation here.
        }

        #endregion
    }
}
